#include <STC89C5xRC.H>
#include <INTRINS.H>

void Delay20ms()		//@11.0592MHz
{
	unsigned char i, j;

	i = 36;
	j = 217;
	do
	{
		while (--j);
	} while (--i);
}


void main()
{
	while(1)
	{
		P2=0xFE;
		Delay20ms();
		P2=0xFD;
		Delay20ms();
	  P2=0xFB;
		Delay20ms();
		P2=0xF7;
		Delay20ms();
		P2=0xEF;
		Delay20ms();
		P2=0xDF;
		Delay20ms();
		P2=0xBF;
		Delay20ms();
		P2=0x7F;
		Delay20ms();
	}
}